using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class GuideTipsPanel : UIPanel
{
    public Button        btnSkip;
    public Button        btnEntrySkip;
    public override void Init()
    {
        base.Init();
    }

    private void Awake()
    {
        btnSkip.onClick.AddListener(OnClickSkip);
        btnEntrySkip.onClick.AddListener(OnClickEntrySkip);
    }

    private void OnClickSkip()
    {
        Hide();
        PlayerPrefs.SetInt(Const.NOVICE,1);
    }

    private void OnClickEntrySkip()
    {
        Hide();
        UIManager.Instance.OpenPanel<GuidancePanel>().ExcuteStep(0);
    }
}
